package day6;

import java.io.FileNotFoundException;
import java.io.FileReader;

/**
 * @author oldliu
 * @since 1.0
 */
public class CharTest {
    public static void main(String[] args) {
        try {
            FileReader fr=new FileReader("E:\\temp\\java75\\namelist.txt");
            int ch=0;
            while ((ch=fr.read())!=-1){
                System.out.println(ch+" > "+(char)ch);
            }
            fr.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
